export const createReducer = (initState, reducerTarget) =>
    (state = initState, action) => (reducerTarget[action.type]) && reducerTarget[action.type](state, action)
